package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * create table t_users(
 *   id int primary key auto_increment,
 *   name varchar(50),
 *   password varchar(50),
 *   sex varchar(1),
 *   birthday datetime,
 *   registTime datetime
 * )default charset = utf8;
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

public class User implements Serializable {
    private Integer id;
    private String name;
    private String password;
    private String sex;
    private LocalDateTime birthday;
    private LocalDateTime registTime;
}
